package com.nc.cloud.authority;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication

@EnableDiscoveryClient
@EnableFeignClients
@MapperScan("com.nc.cloud.authority.server.mapper")
@EnableAutoConfiguration
public class AuthoriBootstrap {
    public static void main(String[] args) {
        new SpringApplicationBuilder(AuthoriBootstrap.class).run(args);
    }
}
